package com.igeek.clud_system.dao;

import com.igeek.clud_system.entity.Club;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ClubDao {


    /**
     * 用于查找社团
     * @param type
     * @param name
     * @param statue
     * @return
     */
    public List<Club> findClub(Integer type,String name,int statue);

    /**
     * 查找社团通过Id
     */
    public Club findClubById(Integer clubId);
}
